home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
hacky_sack_jr.swf
/
scripts
/
DefineButton2_297
/
BUTTONCONDACTION on(keyPress 9).as
< prev
next >
Wrap
Text File
|
2011-08-19
|
778b
|
33 lines
on(keyPress "9"){
if("0" < eval("/:super") and eval("/:specialwait") == "0" and "280" < getProperty("/ball", _Y) and getProperty("/ball", _Y) < "390")
{
set("/:char","3");
set("/:k","9");
tellTarget("/bot")
{
gotoAndStop("9");
play();
}
setProperty("/hit", _X, - "100");
set("/:move","0");
tellTarget("/bg")
{
gotoAndStop("special3");
play();
}
set("/:super",eval("/:super") - "1");
}
else if(eval("/:specialwait") == "0")
{
set("/:char","3");
tellTarget("/bot")
{
gotoAndStop("2");
play();
}
set("/:move","0");
set("/:k","9");
setProperty("/hit", _X, - "100");
}
}